package com.xtianzhuang.www.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class VUserDailyBalanceExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    private Integer limit;

    private Integer offset;

    public VUserDailyBalanceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeIsNull() {
            addCriterion("balance_type is null");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeIsNotNull() {
            addCriterion("balance_type is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeEqualTo(String value) {
            addCriterion("balance_type =", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNotEqualTo(String value) {
            addCriterion("balance_type <>", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeGreaterThan(String value) {
            addCriterion("balance_type >", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("balance_type >=", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeLessThan(String value) {
            addCriterion("balance_type <", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeLessThanOrEqualTo(String value) {
            addCriterion("balance_type <=", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeLike(String value) {
            addCriterion("balance_type like", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNotLike(String value) {
            addCriterion("balance_type not like", value, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeIn(List<String> values) {
            addCriterion("balance_type in", values, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNotIn(List<String> values) {
            addCriterion("balance_type not in", values, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeBetween(String value1, String value2) {
            addCriterion("balance_type between", value1, value2, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNotBetween(String value1, String value2) {
            addCriterion("balance_type not between", value1, value2, "balanceType");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameIsNull() {
            addCriterion("balance_type_name is null");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameIsNotNull() {
            addCriterion("balance_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameEqualTo(String value) {
            addCriterion("balance_type_name =", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameNotEqualTo(String value) {
            addCriterion("balance_type_name <>", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameGreaterThan(String value) {
            addCriterion("balance_type_name >", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("balance_type_name >=", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameLessThan(String value) {
            addCriterion("balance_type_name <", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameLessThanOrEqualTo(String value) {
            addCriterion("balance_type_name <=", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameLike(String value) {
            addCriterion("balance_type_name like", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameNotLike(String value) {
            addCriterion("balance_type_name not like", value, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameIn(List<String> values) {
            addCriterion("balance_type_name in", values, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameNotIn(List<String> values) {
            addCriterion("balance_type_name not in", values, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameBetween(String value1, String value2) {
            addCriterion("balance_type_name between", value1, value2, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andBalanceTypeNameNotBetween(String value1, String value2) {
            addCriterion("balance_type_name not between", value1, value2, "balanceTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(String value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(String value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(String value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(String value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(String value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(String value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLike(String value) {
            addCriterion("pay_type like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotLike(String value) {
            addCriterion("pay_type not like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<String> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<String> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(String value1, String value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(String value1, String value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameIsNull() {
            addCriterion("pay_type_name is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameIsNotNull() {
            addCriterion("pay_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameEqualTo(String value) {
            addCriterion("pay_type_name =", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameNotEqualTo(String value) {
            addCriterion("pay_type_name <>", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameGreaterThan(String value) {
            addCriterion("pay_type_name >", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("pay_type_name >=", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameLessThan(String value) {
            addCriterion("pay_type_name <", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameLessThanOrEqualTo(String value) {
            addCriterion("pay_type_name <=", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameLike(String value) {
            addCriterion("pay_type_name like", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameNotLike(String value) {
            addCriterion("pay_type_name not like", value, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameIn(List<String> values) {
            addCriterion("pay_type_name in", values, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameNotIn(List<String> values) {
            addCriterion("pay_type_name not in", values, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameBetween(String value1, String value2) {
            addCriterion("pay_type_name between", value1, value2, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andPayTypeNameNotBetween(String value1, String value2) {
            addCriterion("pay_type_name not between", value1, value2, "payTypeName");
            return (Criteria) this;
        }

        public Criteria andAccountAIsNull() {
            addCriterion("account_A is null");
            return (Criteria) this;
        }

        public Criteria andAccountAIsNotNull() {
            addCriterion("account_A is not null");
            return (Criteria) this;
        }

        public Criteria andAccountAEqualTo(Integer value) {
            addCriterion("account_A =", value, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountANotEqualTo(Integer value) {
            addCriterion("account_A <>", value, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountAGreaterThan(Integer value) {
            addCriterion("account_A >", value, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountAGreaterThanOrEqualTo(Integer value) {
            addCriterion("account_A >=", value, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountALessThan(Integer value) {
            addCriterion("account_A <", value, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountALessThanOrEqualTo(Integer value) {
            addCriterion("account_A <=", value, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountAIn(List<Integer> values) {
            addCriterion("account_A in", values, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountANotIn(List<Integer> values) {
            addCriterion("account_A not in", values, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountABetween(Integer value1, Integer value2) {
            addCriterion("account_A between", value1, value2, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountANotBetween(Integer value1, Integer value2) {
            addCriterion("account_A not between", value1, value2, "accountA");
            return (Criteria) this;
        }

        public Criteria andAccountANameIsNull() {
            addCriterion("account_A_name is null");
            return (Criteria) this;
        }

        public Criteria andAccountANameIsNotNull() {
            addCriterion("account_A_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccountANameEqualTo(String value) {
            addCriterion("account_A_name =", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameNotEqualTo(String value) {
            addCriterion("account_A_name <>", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameGreaterThan(String value) {
            addCriterion("account_A_name >", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameGreaterThanOrEqualTo(String value) {
            addCriterion("account_A_name >=", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameLessThan(String value) {
            addCriterion("account_A_name <", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameLessThanOrEqualTo(String value) {
            addCriterion("account_A_name <=", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameLike(String value) {
            addCriterion("account_A_name like", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameNotLike(String value) {
            addCriterion("account_A_name not like", value, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameIn(List<String> values) {
            addCriterion("account_A_name in", values, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameNotIn(List<String> values) {
            addCriterion("account_A_name not in", values, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameBetween(String value1, String value2) {
            addCriterion("account_A_name between", value1, value2, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountANameNotBetween(String value1, String value2) {
            addCriterion("account_A_name not between", value1, value2, "accountAName");
            return (Criteria) this;
        }

        public Criteria andAccountBIsNull() {
            addCriterion("account_B is null");
            return (Criteria) this;
        }

        public Criteria andAccountBIsNotNull() {
            addCriterion("account_B is not null");
            return (Criteria) this;
        }

        public Criteria andAccountBEqualTo(Integer value) {
            addCriterion("account_B =", value, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBNotEqualTo(Integer value) {
            addCriterion("account_B <>", value, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBGreaterThan(Integer value) {
            addCriterion("account_B >", value, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBGreaterThanOrEqualTo(Integer value) {
            addCriterion("account_B >=", value, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBLessThan(Integer value) {
            addCriterion("account_B <", value, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBLessThanOrEqualTo(Integer value) {
            addCriterion("account_B <=", value, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBIn(List<Integer> values) {
            addCriterion("account_B in", values, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBNotIn(List<Integer> values) {
            addCriterion("account_B not in", values, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBBetween(Integer value1, Integer value2) {
            addCriterion("account_B between", value1, value2, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBNotBetween(Integer value1, Integer value2) {
            addCriterion("account_B not between", value1, value2, "accountB");
            return (Criteria) this;
        }

        public Criteria andAccountBNameIsNull() {
            addCriterion("account_B_name is null");
            return (Criteria) this;
        }

        public Criteria andAccountBNameIsNotNull() {
            addCriterion("account_B_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccountBNameEqualTo(String value) {
            addCriterion("account_B_name =", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameNotEqualTo(String value) {
            addCriterion("account_B_name <>", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameGreaterThan(String value) {
            addCriterion("account_B_name >", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameGreaterThanOrEqualTo(String value) {
            addCriterion("account_B_name >=", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameLessThan(String value) {
            addCriterion("account_B_name <", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameLessThanOrEqualTo(String value) {
            addCriterion("account_B_name <=", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameLike(String value) {
            addCriterion("account_B_name like", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameNotLike(String value) {
            addCriterion("account_B_name not like", value, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameIn(List<String> values) {
            addCriterion("account_B_name in", values, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameNotIn(List<String> values) {
            addCriterion("account_B_name not in", values, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameBetween(String value1, String value2) {
            addCriterion("account_B_name between", value1, value2, "accountBName");
            return (Criteria) this;
        }

        public Criteria andAccountBNameNotBetween(String value1, String value2) {
            addCriterion("account_B_name not between", value1, value2, "accountBName");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(BigDecimal value) {
            addCriterion("money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(BigDecimal value) {
            addCriterion("money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(BigDecimal value) {
            addCriterion("money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(BigDecimal value) {
            addCriterion("money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<BigDecimal> values) {
            addCriterion("money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<BigDecimal> values) {
            addCriterion("money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(String value) {
            addCriterion("date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(String value) {
            addCriterion("date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(String value) {
            addCriterion("date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(String value) {
            addCriterion("date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(String value) {
            addCriterion("date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(String value) {
            addCriterion("date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLike(String value) {
            addCriterion("date like", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotLike(String value) {
            addCriterion("date not like", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<String> values) {
            addCriterion("date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<String> values) {
            addCriterion("date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(String value1, String value2) {
            addCriterion("date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(String value1, String value2) {
            addCriterion("date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}